
import { createApp } from 'vue'
import { createPinia } from 'pinia'
import piniaPluginPersistedstate from 'pinia-plugin-persistedstate'
import App from './App.vue'
import router from './router'

import 'amfe-flexible'
import '@/utils/rem.js' 
// 2. 引入组件样式
import 'vant/lib/index.css';
import Vant from 'vant';
const app = createApp(App)

app.use(createPinia())
const pinia = createPinia()
app.use(pinia.use(piniaPluginPersistedstate))
app.use(router)
app.use(Vant);
app.mount('#app')
